package com.lizemin.beanpostprocessor.config;

import com.lizemin.beanpostprocessor.entity.Dog;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

/**
 * @author lzm
 * @date 2025/7/4 20:46
 * @description
 */
@Configuration
public class BeanConfig {

    @Bean
    public Dog dog() {
        Dog dog = new Dog();
        dog.setName("大白");
        dog.setAge(18);
        return dog;
    }

}
